<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
    <title>享云商户通</title>
    <link rel="stylesheet" href="../../styles/h5/reset.min.css"/>
    <!--以上为公共css样式-->
    <link rel="stylesheet" href="../../styles/h5/index.css"/>

    <script charset="utf-8" type="text/javascript" src="../../scripts/h5/jquery-1.9.1.min.js"></script>
    <!--以上为公共js文件-->
</head>
<body>
<div class="zz-top"></div>
<div class="zz-submit-success">
    <i class="zz-icon-win"></i>
    <span class="zz-extract"></span>
</div>
<input type="button" class="footer bg zz-footTop" value="完成">
</body>

<script charset="utf-8" type="text/javascript" src="../../scripts/h5/utils.js"></script>
<script charset="utf-8" type="text/javascript" src="../../scripts/h5/index.js"></script>
<script charset="utf-8" type="text/javascript">
    var queryURLParameter = utils.queryURLParameter();
    var change = queryURLParameter.change;
    var page = queryURLParameter.page;
    
    //console.log(queryURLParameter.change == "undefined");
    if (change == "changeCard") {
        $(".zz-extract").html("结算卡已更换");
    } else if (change == "undefined") {
        $(".zz-extract").html("结算卡已成功设置");
    }

    if (queryURLParameter.settlementSuccess == "success") {
        $(".zz-extract").html("提前结算成功");
        $("title").html("申请成功")
    }

    $footer.click(function () {
    	if(page == "billMsg"){
    		window.location.href = "../../html/h5/fundNotOpen.html";
    	}else{
    	 	WeixinJSBridge.call('closeWindow');
    	}
    })
</script>
</html>